package com.oa.admin.entity;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;




import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 公司活动申请表
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
@Data
@TableName("admin_company_activity_apply")
@ApiModel(value="公司活动申请表")
public class CompanyActivityApply extends Model<CompanyActivityApply> {

        private static final long serialVersionUID = 1L;


        @ApiModelProperty(value="id")
        @TableId(value = "id", type = IdType.UUID)
                private String id;

        @ApiModelProperty(value="申请人（用户id）")
        private String porposer;

        @ApiModelProperty(value="开始准备时间")
        private Date readyTime;

        @ApiModelProperty(value="完成日期")
        private Date overDate;

        @ApiModelProperty(value="活动名称")
        private String activityName;

        @ApiModelProperty(value="活动类型")
        private String activityType;

        @ApiModelProperty(value="负责人")
        private String principal;

        @ApiModelProperty(value="预算")
        private String budget;

        @ApiModelProperty(value="提醒时间")
        private Date reminderTime;

        @ApiModelProperty(value="备注")
        private String remake;

        @ApiModelProperty(value="是否删除(1-已删除 2-未删除)")
        private Integer isDeleted;


@Override
protected Serializable pkVal() {
            return this.id;
        }

        }